package com.itheima.pojo.hm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("hm_subjects")
public class HmSubjects {
    //编号
    private Integer id;

    //学科
    @TableField("subjectName")
    private String subjectName;

    //创建者
    @TableField("creatorID")
    private Integer creatorID;

    //创建日期
    @TableField("addDate")
    private LocalDateTime addDate;

    //前台是否显示
    @TableField("isFrontDisplay")
    private Integer isFrontDisplay;

    //标签
    private Integer tags;

    //题目数量
    private Integer totals;

    //二级目录
    @TableField("twoLevelDirectory")
    private Integer twoLevelDirectory;

    @TableField(exist = false)
    private String username;
}
